from ..database import database, TABLE_PREFIX

from peewee import *


class Language(database.Model):
    id = CharField(db_column='id', max_length=20, primary_key=True)
    screen_name = CharField(db_column='screen_name', help_text='显示名称', max_length=40)
    logo = CharField(db_column='logo', help_text='语言logo', max_length=200, null=True)

    # class Meta:
    #     db_table = '{0}_{1}'.format(TABLE_PREFIX, 'languages')
